package com.itheima.chapter10.thread.demo9;

public class MyThread1 extends Thread{
    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            System.out.println(getName()+"--->"+i);
        }
       // return false;
    }
}
